/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *Repository提供数据库操作，如果要增加数据库操作请在当前目录下Partial文件夹IStockInOrderModelRepository编写接口
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Core.BaseProvider;
using VOL.Entity.DomainModels;
using VOL.Core.Extensions.AutofacManager;

namespace VOL.demo.IRepositories
{
    public partial interface IStockInOrderModelRepository : IDependency, IRepository<StockInOrderModel>
    {
    }

    public partial interface IStockInOrderModelRepository
    {
        /// <summary>
        /// 分页查询入库单（带关联查询和计算字段）
        /// </summary>
        Task<(List<StockInOrderModel> Data, int TotalCount)> GetStockInOrderPageListAsync(
            int pageIndex,
            int pageSize,
            string stockInCode = null,
            int? status = null,
            long? warehouseId = null,
            DateTime? stockInDate = null,
            long? inOutTypeId = null);
    }
}

